class Person{
	private String name;
	public int age;
	public void setName(String name){
		this.name = name;
	}
	public void setAge(int age){
		this.age = age;
	}
	public String getName(){
		return name;
	}
	public int getAge(){
		return age;
	}
}

class Student extends Person{
	private String school;
	public String getSchool(){
		return school;
	}
	public void setSchool(String school){
		this.school = school;
	}
}

public class ClassStudent {
	public static void main(String rgs[]){
		Student student = new Student();
		student.setName("john");
		student.setAge(18);
		student.setSchool("JXLG");
		System.out.println(student.getName());
		System.out.println(student.getAge());
		System.out.println(student.getSchool());
	}
}
